﻿@model AccountUpdateBo
@{
    ViewBag.Title = "编辑";
    Layout = "_Layout";
}
<h2>添加</h2>

<form asp-action="SubmitUpdate" method="post">
    <table class="table">
        
        <tr>
            <td>
                <label asp-for="AccountState"></label>
            </td>
            <td>
                @Html.DropDownList("AccoutState", ViewBag.StateList,"请选择状态",null);
            </td>
            <td>
                <span asp-validation-for="AccountState" style="color:red;"></span>
            </td>
        </tr>
        <tr>
            <td>
                <label asp-for="SaleMan"></label>
            </td>
            <td>
                <input asp-for="SaleMan" />
            </td>
            <td>
                <span asp-validation-for="SaleMan" style="color:red;"></span>
            </td>
        </tr>
       
        <tr>
            <td></td>
            <td>
                <input type="hidden" asp-for="Id" />
                <input type="submit" class="btn btn-primary" value="确认" />
            </td>
            <td></td>
        </tr>
    </table>

</form>
